package Fitter_my;
import jakarta.servlet.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.IOException;


public class KeywordFilter implements Filter {
    private static final Logger logger = LoggerFactory.getLogger(KeywordFilter.class);
    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
        logger.info("开始关键字筛选");
    }

    @Override
    public void destroy() {
        logger.info("关键字筛选结束");
    }

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {

    }
}
